package com.aaa.service;

import com.aaa.commen.domain.ReceiveInfo;
import com.aaa.commen.entity.Result;
import com.baomidou.mybatisplus.extension.service.IService;

public interface IReceiveInfoService extends IService<ReceiveInfo> {
    /**
     * 查询某个合同所有已收取详细租金信息
     */
    Result queryReceiveInfo(String contractId);

    /**
     * 根据发票号删除目标合同的某条租金信息
     */
    Result deleteReceiveInfo(int invoiceId);

    /**
     * 修改某合同的租金收取信息
     */
    Result updateReceiveInfo(ReceiveInfo receiveInfo);
}
